package com.jy.classes.domain;

import java.util.List;

import com.jy.students.domain.Students;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jy.common.annotation.Excel;
import com.jy.common.core.domain.BaseEntity;

/**
 * 班级管理对象 classes
 *
 * @author ruoyi
 * @date 2025-05-28
 */
public class Classes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级ID */
    private Long classId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 年级 */
    @Excel(name = "年级")
    private Long grade;

    /** 班主任 */
    @Excel(name = "班主任")
    private String headTeacher;

    /** 学生管理信息 */
    private List<Students> studentsList;

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }

    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }

    public void setGrade(Long grade)
    {
        this.grade = grade;
    }

    public Long getGrade()
    {
        return grade;
    }

    public void setHeadTeacher(String headTeacher)
    {
        this.headTeacher = headTeacher;
    }

    public String getHeadTeacher()
    {
        return headTeacher;
    }

    public List<Students> getStudentsList()
    {
        return studentsList;
    }

    public void setStudentsList(List<Students> studentsList)
    {
        this.studentsList = studentsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("grade", getGrade())
            .append("headTeacher", getHeadTeacher())
            .append("studentsList", getStudentsList())
            .toString();
    }
}
